<?php
$modelPath = dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'application' . DIRECTORY_SEPARATOR . 'model';
set_include_path($modelPath . PATH_SEPARATOR . get_include_path());

function autoloader($class) {
   require $class . '.php';
}
spl_autoload_register('autoloader');
